Crate sc_tracing

source ·
Expand description

Instrumentation implementation for substrate.

This crate is unstable and the API and usage may change.

Usage

See sp-tracing for examples on how to use tracing.

Currently we only provide Log (default).

Modules

Utilities for tracing block execution
Substrate logging library.

Structs

TraceHandler for sending span data to the logger
Responsible for assigning ids to new spans, which are not re-used.
Represents a single instance of a tracing span
Represents a tracing event, complete with values
Holds associated values for a tracing span

Enums

Trace handler event types.
Used to configure how to receive the metrics

Traits

A handler for tracing SpanDatum